package org.naxx.security.naxxlet.impl;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

import org.naxx.security.model.request.Request;
import org.naxx.security.naxxlet.XPolicyRepository;
import org.naxx.security.naxxlet.model.XPolicy;

public class XPolicyRepositoryImpl implements XPolicyRepository {
	
	private Map<String, XPolicy> policies;
	
	public XPolicyRepositoryImpl() {
		this.policies = new ConcurrentHashMap<String, XPolicy>();
	}

	@Override
	public void addXPolicy(XPolicy xPolicy) {
		this.policies.put("", xPolicy);
	}

	@Override
	public void evaluate(Request request) {
		
	}
}
